// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Animation/AnimInstance.h"
#include "PlayerAnimInstance.generated.h"

/**
 * 
 */
UCLASS()
class GAMETESTG_API UPlayerAnimInstance : public UAnimInstance
{
	GENERATED_BODY()
	
//#if 1 /**/
public:
	UPROPERTY(EditAnywhere,BlueprintReadOnly,Category = Movement)
	float MoveSpeed;
	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Movement)
	bool IsFalling;
	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Movement)
	class APawn* Pawn;
	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Movement)
	class APlayerCharacter* Player;

	virtual void NativeInitializeAnimation() override;
	
	UFUNCTION(BlueprintCallable,Category = MOvement)
	void UpdateAnimation();

//#endif

};
